﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="printGovrenListReport.aspx.cs"
    Inherits="BOH.Information.Report.printGovrenListReport" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<object id="WebBrowser1" width="0" height="0" classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></object>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>打印报表</title>
    <link href="../../style/css.css" type="text/css" rel="Stylesheet" />

    <script src="../../js/jquery-1.3.2.js" type="text/javascript"></script>

    <script src="../../js/common.js" type="text/javascript"></script>

    <style media="print">
        #divToip
        {
            display: none;
        }
        #divPrintArea
        {
            display: block;
        }
    </style>
    <style>
        tr
        {
            height: 23px;
            vertical-align: middle;
        }
        .break
        {
            page-break-after: always;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div id="divToip">
        <center>
            正在打印,请稍后........
        </center>
    </div>
    <div id="divPrintArea">
        <div id="PersonalReportTitle">
            <h2>
                上海市卫生系列高级专业技术职务任职资格评审申报人员名单</h2>
        </div>
        <div style="text-align: center;">
            <h4>
                主管局名称：<asp:Label ID="labGovernName" runat="server"></asp:Label></h4>
        </div>
        <div>
            <center>
                <asp:GridView ID="GovernList" runat="server" AutoGenerateColumns="false" Width="98%"
                    CssClass="Grid" AllowPaging="True" PageSize="25">
                    <Columns>
                        <asp:TemplateField HeaderText="流水号" HeaderStyle-Width="30px">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("NO")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="单位名称" HeaderStyle-Width="180px" HeaderStyle-HorizontalAlign="Center">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("UnitGovernName")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="姓  名" HeaderStyle-Width="60px">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("ApplyName")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="性别" HeaderStyle-Width="35px">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("Gender")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="出生年月" HeaderStyle-Width="60px">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("Birthday")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="学   历" HeaderStyle-Width="50px">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("EducationLevel")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="毕业年月" HeaderStyle-Width="60px">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("GraduationDate")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="现任职称" HeaderStyle-Width="120px">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("CurrentJobRank")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="取得时间" HeaderStyle-Width="60px">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("JobDate")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="聘用年限" HeaderStyle-Width="30px">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("JobTerm")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="申报专业" HeaderStyle-Width="200px">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("SpecialityID")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="申报职称" HeaderStyle-Width="100px">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("JobRankID")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="申报类型" HeaderStyle-Width="30px">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("ApplyType")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="政治考核" HeaderStyle-Width="30px">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("PoliticsResult")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="业务考核" HeaderStyle-Width="30px">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("JobResult")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="外语名称" HeaderStyle-Width="50px">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("ForeignLanguageName")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="外语成绩" HeaderStyle-Width="30px">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("ForeignLanguageResult")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="计算机成绩" HeaderStyle-Width="40px">
                            <ItemTemplate>
                                <span>
                                    <%# Eval("ComputerResult")%></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="备   注">
                            <ItemTemplate>
                                <span></span>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                </asp:GridView>
                <br />
                <!--<div id="divPager"> -->
                <asp:Label ID="labNoRecord" Visible="false" runat="server" Text="查询结果为空!"></asp:Label>
                <webdiyer:AspNetPager ID="AspNetPager1" runat="server" PageSize="25" AlwaysShow="True"
                    OnPageChanged="AspNetPager1_PageChanged" ShowCustomInfoSection="Left" CustomInfoSectionWidth="35%"
                    ShowPageIndexBox="always" PageIndexBoxType="DropDownList" CustomInfoHTML="第<font color='red'><b>%currentPageIndex%</b></font>页，共%PageCount%页，每页显示%PageSize%条记录">
                </webdiyer:AspNetPager>
                <!--</div>-->
        </div>
    </form>
    <script>
        function print() {
            var wb = document.getElementById("WebBrowser1");
            wb.Execwb(6, 6);
            window.close();
        }
        print();
</script>
</body>
</html>
